package com.servise;

import com.entity.Emplyee;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 一天的工作
 */
public class WorkServer {

    Emplyee emplyee = new Emplyee(1L, "test1", new Date(), "F", "6001", "程序员", BigDecimal.valueOf(8000L));

    public void selfIntroduce() {
        System.out.println(emplyee.toString());
    }

    public void morning() {
        System.out.println("coding in morning.....");
    }

    public void midday() {
        System.out.println("eat and sleep with 2h in midday..........");
    }

    public void afternoon() {
        System.out.println("coding and talk with tester on the afternoon..............");
    }

    public void coderOneDay() {
        morning();
        midday();
        afternoon();
    }
}
